-
Home
-
WooCommerce
-
10.0.2
-
Code
-
Classes
- PaymentsController
Total Complexity |
47 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
356 |
Lines of code |
195 |
Logical lines of code |
105 |
Comment lines |
111 |
Methods |
11 |
Properties |
1 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
store_has_providers_with_incentive() |
A |
39 |
14 |
69 |
add_menu() |
A |
49 |
7 |
31 |
add_allowed_promo_notes() |
S |
54 |
5 |
22 |
handle_sections() |
S |
60 |
5 |
13 |
preload_settings() |
S |
62 |
4 |
13 |
is_woopayments_account_onboarded() |
S |
60 |
4 |
13 |
add_body_classes() |
S |
64 |
4 |
10 |
register() |
S |
66 |
1 |
8 |
init() |
S |
80 |
1 |
3 |
handle_incentive_dismissed() |
S |
81 |
1 |
3 |
store_has_enabled_gateways() |
S |
65 |
1 |
10 |